<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: jz
 * Date: 16/7/19
 * Time: 下午3:51
 */
if (!function_exists('debug_print'))
{
    
    function debug_print($data)
    {
        static $count;
        
        if (!isset($count)){
            $count = 0;
        }
        
        echo '<pre>';
        var_dump($data);
        echo $count;
        echo '</pre>';
        echo '<hr>';
        $count++;
    }
}